package com.eshop.modules.shop.service.dto;

import java.io.Serializable;

public class SystemConfigDto implements Serializable
{
    private Integer id;
    private String menuName;
    private String value;
    private Integer sort;
    private Integer status;
    
    public Integer getId() {
        return this.id;
    }
    
    public String getMenuName() {
        return this.menuName;
    }
    
    public String getValue() {
        return this.value;
    }
    
    public Integer getSort() {
        return this.sort;
    }
    
    public Integer getStatus() {
        return this.status;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setMenuName(final String menuName) {
        this.menuName = menuName;
    }
    
    public void setValue(final String value) {
        this.value = value;
    }
    
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
    
    public void setStatus(final Integer status) {
        this.status = status;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SystemConfigDto)) {
            return false;
        }
        final SystemConfigDto other = (SystemConfigDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$sort = this.getSort();
        final Object other$sort = other.getSort();
        Label_0102: {
            if (this$sort == null) {
                if (other$sort == null) {
                    break Label_0102;
                }
            }
            else if (this$sort.equals(other$sort)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0139: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0139;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$menuName = this.getMenuName();
        final Object other$menuName = other.getMenuName();
        Label_0176: {
            if (this$menuName == null) {
                if (other$menuName == null) {
                    break Label_0176;
                }
            }
            else if (this$menuName.equals(other$menuName)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$value = this.getValue();
        final Object other$value = other.getValue();
        if (this$value == null) {
            if (other$value == null) {
                return true;
            }
        }
        else if (this$value.equals(other$value)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof SystemConfigDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $sort = this.getSort();
        result = result * 59 + (($sort == null) ? 43 : $sort.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $menuName = this.getMenuName();
        result = result * 59 + (($menuName == null) ? 43 : $menuName.hashCode());
        final Object $value = this.getValue();
        result = result * 59 + (($value == null) ? 43 : $value.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "SystemConfigDto(id=" + this.getId() + ", menuName=" + this.getMenuName() + ", value=" + this.getValue() + ", sort=" + this.getSort() + ", status=" + this.getStatus() + ")";
    }
}
